/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-10-20 16:34:20
 * @LastEditors: TT
 * @LastEditTime: 2023-10-25 09:59:45
 */
import 'package:package_info_plus/package_info_plus.dart';

import '../config/config_index.dart';

class PackageInfoTool {
  static fromPlateform() async {
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    AppConfig.version = packageInfo.version;
    AppConfig.appName = packageInfo.appName;
  }
}
